package com.lvmama.pangolin.mt.service.impl;

import com.lvmama.pangolin.mybatis.mapper.mt.TicketNewProductMtMapper;
import com.lvmama.pangolin.entity.mt.TicketNewProductMt;
import com.lvmama.pangolin.entity.mt.TicketPdetailMt;
import com.lvmama.pangolin.mt.service.TicketNewProductMtService;
import com.lvmama.pangolin.core.AbstractService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import org.springframework.beans.factory.annotation.Autowired;


/**
 * Created by zhoutianqi on 2017/09/06.
 */
@Service
@Transactional
public class TicketNewProductMtServiceImpl extends AbstractService<TicketNewProductMt> implements TicketNewProductMtService {
    @Autowired
    private TicketNewProductMtMapper ticketNewProductMtMapper;

	@Override
	public int saveByPdetailMt(TicketPdetailMt item) {
		// TODO Auto-generated method stub
		return ticketNewProductMtMapper.saveByPdetailMt(item);
	}

}
